<?php
namespace app\common\validate;

use think\Validate;

class Brand extends Validate
{
    protected $rule = [
        'name'  =>  'require',
        'initial'  =>  'require',
        'logo'  =>  'require',
    ];

    protected $message = [
        'name.require' => '品牌名称不能为空',
        'initial.require' => '品牌首字母不能为空',
        'logo.require' => '品牌logo不能为空',
    ];

}